from rest_framework import serializers
from .models import Room

class RoomListSerializer(serializers.ModelSerializer):
    class Meta:
        model = Room
        fields = [
            'unit_id',
            'room_id',
            'gender',
            'avail_bed',
        ]